how to read regular expression